<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="UTF-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <meta http-equiv="X-UA-Compatible" content="ie=edge">
        <title>Document</title>
        <script src="../js/vue.js"></script>
        <script>
            window.onload=function(){
                new Vue({
                    // el:"#container",
                    el:"div",
                    data:{
                        data:"默认数据"
                    }
                })
            }
        </script>
    </head>
    <body>
        <div id="container">
            <p>{{ data }}</p>
            <input type="text" v-model="data">
        </div>
    </body>
</html>